import React from 'react';
import { DatePicker } from 'antd';

const { MonthPicker, RangePicker, WeekPicker } = DatePicker;

function onChange(date, dateString) { console.log(date, dateString) }


const KimDatePicker =props=>{
  return <>
  <DatePicker onChange={onChange} style={{marginBottom:10}} /> <br />
  <MonthPicker onChange={onChange} placeholder="选择月份" style={{marginBottom:10}} /> <br />
  <RangePicker onChange={onChange} style={{marginBottom:10}} /> <br />
  <WeekPicker onChange={onChange} placeholder="选择周" style={{marginBottom:10}} />
  </>
}

export default KimDatePicker;